home *** CD-ROM | disk | FTP | other *** search
- Path: news.luc.edu!user
- From: VArase@varase.it.luc.edu (Verne Arase)
- Newsgroups: comp.lang.c
- Subject: Re: malloc question
- Date: Mon, 11 Mar 1996 10:02:52 -0600
- Organization: LUMC
- Message-ID: <AD69AACC9668D7849@mcdiala09.it.luc.edu>
- References: <4htonk$350@news.hklink.net> <4huctt$arv@sparcserver.lrz-muenchen.de> <4hv5qpINNp8a@keats.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: 147.126.240.109
-
- In article <4hv5qpINNp8a@keats.ugrad.cs.ubc.ca>,
- c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) wrote:
-
- >A C compiler is free to treat it, and other defined functions, as a
- >special operator for the purposes of optimizing a call to malloc(),
- >unless it has already encountered a static declaration of the malloc
- >identifier in the scope where the call occurs---malloc() is no mere
- >external function, it is a special language feature painstakingly
- >dressed up to look like a library function, even to the point that
- >you can take the address of malloc() and call it via a function
- >pointer.
-
- Not malloc(); malloc. malloc() is an invocation.
-
- ---
- The above are my own opinions, and not those of my employer.
-